package com.dhkj.web.idf.model;

import android.os.Parcel;
import android.os.Parcelable;


public class MenuPrice implements Parcelable {
    private int consumptionTypePK;
    private int price;

    public int getConsumptionTypePK() {
        return consumptionTypePK;
    }

    public void setConsumptionTypePK(int consumptionTypePK) {
        this.consumptionTypePK = consumptionTypePK;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public MenuPrice() {
    }




    protected MenuPrice(Parcel in) {
        consumptionTypePK = in.readInt();
        price = in.readInt();
    }

    public static final Parcelable.Creator<MenuPrice> CREATOR = new Parcelable.Creator<MenuPrice>() {
        @Override
        public MenuPrice createFromParcel(Parcel in) {
            return new MenuPrice(in);
        }

        @Override
        public MenuPrice[] newArray(int size) {
            return new MenuPrice[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(consumptionTypePK);
        parcel.writeInt(price);
    }
}
